class inary:
    class source:
        name = "kmod"
        homepage = "http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
        class packager:
            name = "Ali Riza KESKIN"
            email = "parduscix@yandex.ru"
        license = ['GPLv2+']
        isa = ['app:console']
        summary = "Linux kernel module management utilities"
        description = "Linux kernel module management utilities"
        archive = [
            ("ecdd344f48daa3bde3b2e6f1471f5c46e1218b25","https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/kmod-29.tar.xz"),
        ]
        builddependencies = ['chrpath', 'xz-devel', 'zlib-devel', 'linux-module-headers']
        packages = ['pkg_kmod', 'pkg_kmod_pages', 'pkg_kmod_docs', 'pkg_libkmod_devel', 'pkg_kmod_32bit']
    class pkg_kmod:
        name = "kmod"
        runtimedependencies = ['xz', 'zlib', 'openssl']
        files = [
            ("executable","/bin"),
            ("executable","/sbin"),
            ("config","/etc"),
            ("data","/usr/share/bash-completion/completions/kmod"),
            ("library","/lib/libkmod.so*"),
            ("library","/lib/depmod.d"),
        ]
        additionalfiles = [
            ("kmod-static-nodes-r1","root","0755","/etc/init.d/kmod"),
            ("modprobe.conf","root","0644","/etc/modprobe.d/modprobe.conf"),
            ("depmod.conf","root","0644","/etc/depmod.d/depmod.conf"),
            ("depmod-search.conf","root","0644","/lib/depmod.d/search.conf"),
        ]
    class pkg_kmod_32bit:
        name = "kmod-32bit"
        buildtype = "emul32"
        runtimedependencies = ['xz-32bit', 'zlib-32bit', 'kmod', 'openssl-32bit']
        files = [
            ("library","/lib32/"),
        ]
    class pkg_kmod_pages:
        name = "kmod-pages"
        runtimedependencies = []
        files = [
            ("man","/usr/share/man"),
        ]
    class pkg_kmod_docs:
        name = "kmod-docs"
        runtimedependencies = []
        files = [
            ("doc","/usr/share/doc"),
        ]
    class pkg_libkmod_devel:
        name = "kmod-devel"
        runtimedependencies = ["kmod"]
        files = [
            ("header","/usr/include"),
            ("library","/lib/pkgconfig"),
            ("library","/lib32/pkgconfig"),
        ]
    class history:
        update = [
            ["2021-11-07","29","First reseale","Ali Riza KESKIN","parduscix@yandex.ru"],
        ]
